package cn.kgc.tangcco.pojo;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author 李昊哲
 * @Description
 * @create 2020/10/30 9:23
 */
@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
@Accessors(chain = true)
public class Student implements Serializable {
    private static final long serialVersionUID = -7213062077556922445L;
    /**
     * 学生编号
     */
    private Integer id;

    /**
     * 学生唯一标志
     */
    private String uuid;

    /**
     * 学生曾用名
     */
    private String firstName;

    /**
     * 学生现用名
     */
    private String lastName;

    /**
     * 学生身份证
     */
    private String idCard;

    /**
     * 学生手机号
     */
    private String mobile;

    /**
     * 密码
     */
    private String authText;

    /**
     * 学生所在班级编号
     */
    private Integer cid;

    /**
     * 学生所在班级信息
     */
    private Clazz clazz;


    public Student(String uuid, String firstName, String lastName, String idCard, String mobile, String authText, Integer cid) {
        this.uuid = uuid;
        this.firstName = firstName;
        this.lastName = lastName;
        this.idCard = idCard;
        this.mobile = mobile;
        this.authText = authText;
        this.cid = cid;
    }
}
